<%--

<!------------------------------------------------------------------------------
 - Copyright 2006 CORE Solutions Limited
 - All rights reserved.
 - PROPRIETARY AND CONFIDENTIAL INFORMATION.
 - Use is subject to license terms.
 -
 - FUNCTION ID      :   COMPANY
 - AUTHOR           :   Victor Zheng 
 - DATE CREATE      :   2006/02/01
 - DESCRIPTION      :   a COMMON TAB JSP file for the function, COMPANY
 -                  :   
 -                  :   
 -                  :   
 -
 - MODIFICATION HISTORY:
 - DATE         AUTHOR          VERSION NO.         COMMENT
 - -----------  --------------  ------------------  -------------------
 - 2006/02/01   Victor Zheng    1.0                 source is generated.
 -
 -
 -
------------------------------------------------------------------------------->

--%>
<%@ include file="/jsp/com/erp/app/common/jsp/directives_include.jsp"%>

<%@ page import="com.erp.app.admin.companySetup.vo.CompanyVo"%>
<%@ page import="com.erp.app.admin.companySetup.web.CompanyMaintenanceAction"%>
<%@ page import="com.erp.app.admin.companySetup.web.CompanyMaintenanceForm"%>

<%@ include file="/jsp/com/erp/app/common/jsp/html_include.jsp"%>

<jsp:useBean id="companyMaintenanceForm" scope="session" type="com.erp.app.admin.companySetup.web.CompanyMaintenanceForm" />

<!-- MUST use the following example to mark fields as mandatory field inputs-->
<!--
<td class="grid_header" nowrap><span class="mandatory_label">
<bean:message key="label.general.mandatory.field"/>
...</span></td>
-->
<table class="table_common">

	<%
		TableSchema ts = companyMaintenanceForm.getTs();
	%>
	<tr>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_SHORT_NAME");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="shortName" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_LONG_NAME");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="longName" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_ADDR1");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="addr1" filter="true"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_ADDR2");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="addr2" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_ADDR3");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="addr3" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_COUNTRY");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="country" filter="true"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_PHONE");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="phone" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_FAX");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="fax" filter="true"/>
		</td>
		<td class="col_label">
			<%
			webLabel = ts.getDisplayWebLabelWithColonByObjectId("LBL_COMPANY_CCY");
			%>
			<%=webLabel%>
		</td>
		<td class="col_value">
			<bean:write name="companyMaintenanceForm" property="ccy" filter="true"/>
		</td>
	</tr>
	<tr>
	</tr>
</table>

